<admintpl file="header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			 <li class="active"><a href="{:U('Guanlixiaoqu/xiaoqulist')}">小区列表</a></li>
			 <li ><a href="{:U('Guanlixiaoqu/add')}">添加小区</a></li>
			
		</ul>
		<form class="form-horizontal js-ajax-form" action="{:U('Menu/listorders')}" method="post">
		
			<table class="table table-hover table-bordered table-list">
				<thead>
					<tr>
						
						
						<th>小区名称</th>
						<th width="40">状态</th>
						<th width="80">管理操作</th>
					</tr>
				</thead>
				<foreach name="info" item="vo">
				<tr>
					
					
					<td>{$vo.name}</td>
					<td>
					<if condition="$vo['status'] == 1"> 
					显示
					<else /> 
					隐藏
					</if>
					</td>
					<td>
						<a href="{:U('Guanlixiaoqu/updata',array('id'=>$vo['id']))}">修改</a> | 
						<a class="js-ajax-delete" href="{:U('Guanlixiaoqu/delete',array('id'=>$vo['id']))}">删除</a>
					</td>
				</tr>
				</foreach>
				<tfoot>
					<tr>
						
						
						<th>小区名称</th>
						<th width="40">状态</th>
						<th width="80">管理操作</th>
					</tr>
				</tfoot>
			</table>
			<div class="table-actions">
				
			</div>
		</form>
	</div>
	<script src="__PUBLIC__/js/common.js"></script>
</body>
</html>